<?php if(!defined("HDPHP_PATH"))exit;C("SHOW_NOTICE",FALSE);?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title>后盾招聘企业基本信息-教学项目</title>
	<link rel="stylesheet" type="text/css" href="http://localhost/hdjob/Static/Css/member-common-left.css">
	<link rel="stylesheet" type="text/css" href="http://localhost/hdjob/Static/Css/company-issue.css">
	<script type='text/javascript' src='http://localhost/hdjob/hdphp/hdphp/Extend/Org/Jquery/jquery-1.8.2.min.js'></script>
<link href='http://localhost/hdjob/hdphp/hdphp/../hdjs/css/hdjs.css' rel='stylesheet' media='screen'>
<script src='http://localhost/hdjob/hdphp/hdphp/../hdjs/js/hdjs.js'></script>
<script src='http://localhost/hdjob/hdphp/hdphp/../hdjs/js/slide.js'></script>
<script src='http://localhost/hdjob/hdphp/hdphp/../hdjs/org/cal/lhgcalendar.min.js'></script>
<script type='text/javascript'>
HOST = '<?php echo $GLOBALS['user']['HOST'];?>';
ROOT = '<?php echo $GLOBALS['user']['ROOT'];?>';
WEB = '<?php echo $GLOBALS['user']['WEB'];?>';
URL = '<?php echo $GLOBALS['user']['URL'];?>';
HDPHP = '<?php echo $GLOBALS['user']['HDPHP'];?>';
HDPHPDATA = '<?php echo $GLOBALS['user']['HDPHPDATA'];?>';
HDPHPTPL = '<?php echo $GLOBALS['user']['HDPHPTPL'];?>';
HDPHPEXTEND = '<?php echo $GLOBALS['user']['HDPHPEXTEND'];?>';
APP = '<?php echo $GLOBALS['user']['APP'];?>';
CONTROL = '<?php echo $GLOBALS['user']['CONTROL'];?>';
METH = '<?php echo $GLOBALS['user']['METH'];?>';
GROUP = '<?php echo $GLOBALS['user']['GROUP'];?>';
TPL = '<?php echo $GLOBALS['user']['TPL'];?>';
CONTROLTPL = '<?php echo $GLOBALS['user']['CONTROLTPL'];?>';
STATIC = '<?php echo $GLOBALS['user']['STATIC'];?>';
PUBLIC = '<?php echo $GLOBALS['user']['PUBLIC'];?>';
HISTORY = '<?php echo $GLOBALS['user']['HISTORY'];?>';
HTTPREFERER = '<?php echo $GLOBALS['user']['HTTPREFERER'];?>';
</script>
	<script type="text/javascript">
		/**
	 * [已发布的职位,点击职位名称动作，要选中下面所有的职位]
	 * @return {[type]} [description]
	 */
	$(function(){
		//标记变量，默认为1
		var flag = 1;
		$('.full').click(function(){
			//如果是1 就选中，
			if(flag){
				$('.id_input').attr('checked',true);
				flag = 0;
				return;
			}
			//否则取消选择
			$('.id_input').attr('checked',false);
			flag = 1;
		})
	})
	</script>
	<style type="text/css">
		.page a{
			background: none repeat scroll 0 0 transparent;
			border: 1px solid #CCC;
			display: block;
			float: left;
			font-size: 12px;
			font-weight: 400;
			height: 23px;
			line-height: 23px;
			margin-right: 5px;
			padding-left: 5px;
			padding-right: 5px;
			text-align: center;
			width: auto;
		}
	</style>
<?php if(!defined("HDPHP_PATH"))exit;C("SHOW_NOTICE",FALSE);?>	<link rel="stylesheet" type="text/css" href="http://localhost/hdjob/Static/Css/style.css" />
	<link rel="stylesheet" type="text/css" href="http://localhost/hdjob/Static/Css/common.css">
	<script type="text/javascript" src="http://localhost/hdjob/Static/Js/backTop.js"></script>
</head>
<body>

<!-- 载入公共头部 -->
	<!-- 最顶部灰色条开始 -->
	<div class="head_top">
		<div class="head_top_box">
			<!-- 左边盒子 -->
				<?php if(isset($_SESSION['uid']) && isset($_SESSION['username'])){?>
				<!-- 登录以后 -->
				<div class="head_top_l">
					<span class="top_login">
						欢迎    
						<a href="" class="name" style="color:#339900"><?php echo $_SESSION['username'];?></a>
					   登录！  
					   <?php if($_SESSION["rid"] == 1){?>  
					   <a href="<?php echo U('People/Index/index');?>" style="color:#0066CC">[会员中心]</a>
					   <?php  }else{ ?>
					    <a href="<?php echo U('Company/Index/index');?>" style="color:#0066CC">[会员中心]</a>
						<?php }?>
					   <a href="<?php echo U('Member/Login/out');?>" style="color:#0066CC">[退出]</a>
					</span>
				</div>
				<?php  }else{ ?>
				<!-- 未登录 -->
				<div class="head_top_l">
					<span class="top_login">
					欢迎来到PHP招聘网！   
						<a href="<?php echo U('Member/Login/index');?>">[登录]</a>
						<a href="<?php echo U('Member/Register/index');?>">[免费注册]</a>
					</span>
				</div>
			<?php }?>
			<!-- 左边盒子结束 -->
		</div>
	</div>
	<!-- 最顶部灰色条结束 -->
		<!-- 头部开始 -->
	<div class="head">
		<a href="http://localhost/hdjob" class="logo"><img src="http://localhost/hdjob/Static/images/logo_front.png" alt="" /></a>
	</div>
<?php if(!defined("HDPHP_PATH"))exit;C("SHOW_NOTICE",FALSE);?><?php if($_SESSION['rid'] == 2){?>
<!-- 如果为2证明是企业用户 -->
	<div class="nav_box">
		<!-- tab切换盒子头部 -->
		<div class="tab_top">
			<ul>
				<li><a href="<?php echo U('Member/Index/index');?>" class="hover">中心首页</a></li>
				<li><a href="">职位管理</a></li>
				<li><a href="">招聘管理</a></li>
				<li><a href="">公司资料</a></li>
				<li><a href="">账户管理</a></li>
			</ul>
		</div>
		<!-- tab切换盒子头部结束 -->
			<!-- tab切换盒子底部 -->
	<div class="tab_bottom"></div>
	<!-- tab切换盒子底部结束-->
	</div>

<?php  }else{ ?>
<!-- 如果为1证明是个人用户 -->
<div class="nav_box">
	<!-- tab切换盒子头部 -->
	<div class="tab_top">
		<ul class="tab_top_ul">
			<li id="member_index"><a href="<?php echo U('Member/Index/index');?>"  class="hover">中心首页</a></li>
			<li id="make"><a href="">简历管理</a></li>
			<li id="apply_job"><a href="">求职管理</a></li>
			<li id="user_manager"><a href="">账户管理</a></li>
		</ul>
	</div>
	<!-- tab切换盒子头部结束 -->
		<!-- tab切换盒子底部 -->
	<div class="tab_bottom"></div>
	<!-- tab切换盒子底部结束-->
</div>
<?php }?>
<?php if(!defined("HDPHP_PATH"))exit;C("SHOW_NOTICE",FALSE);?>	<!-- 内容大盒子开始 -->
	<div class="content">
		<!-- 左边盒子 -->	

		<div class="left_box">
			<?php if($_SESSION["rid"] == 1){?>
		<!-- 如果为1证明是个人用户 -->
			<div class="menu_box">
				<div class="title">
					<p>简历管理</p>
					<b></b>
				</div>
				<ul class="menu_content">
					<li><a href="<?php echo U('People/Resume/make1');?>">创建新简历</a></li>
					<li><a href="<?php echo U('People/ResumeManage/index');?>">简历管理</a></li>
				</ul>
			</div>

			<div class="menu_box">
				<div class="title">
					<p>求职管理</p>
					<b></b>
				</div>
				<ul class="menu_content">
					<li><a href="">搜索职位</a></li>
					<li><a href="<?php echo U('People/Applyed/index');?>">申请过的职位</a></li>
				</ul>
			</div>
			<?php  }else{ ?>
			<!-- //否则为企业用户 -->
			<div class="menu_box">
				<div class="title">
					<p>职位管理</p>
					<b></b>
				</div>
				<ul class="menu_content">
					<li><a href="<?php echo U('Company/ComPosition/send_pos');?>">发布职位</a></li>
					<li><a href="<?php echo U('Company/ComPosition/check_pos');?>">已发布职位</a></li>
				</ul>
			</div>

			<div class="menu_box">
				<div class="title">
					<p>招聘管理</p>
					<b></b>
				</div>
				<ul class="menu_content">
					<li><a href="">搜索人才</a></li>
					<li><a href="">我收到的职位申请</a></li>
				</ul>
			</div>

			<div class="menu_box">
				<div class="title">
					<p>公司信息</p>
					<b></b>
				</div>
				<ul class="menu_content">
					<li><a href="<?php echo U('Company/ComInfo/baseinfo');?>">基本信息</a></li>
					<li><a href="<?php echo U('Company/ComInfo/character');?>">营业执照</a></li>
					<li><a href="<?php echo U('Company/ComInfo/logo');?>">企业Logo</a></li>
				</ul>
			</div>
			<?php }?>
			<!-- 公共个人资料部分 -->
			<div class="menu_box">
				<div class="title">
					<p>账户管理</p>
					<b></b>
				</div>
				<ul class="menu_content">
					<li><a href="<?php echo U('Member/Account/baseinfo');?>">个人资料</a></li>
					<li><a href="<?php echo U('Member/Account/password');?>">密码修改</a></li>
					<li><a href="<?php echo U('Member/Login/out');?>">安全退出</a></li>
				</ul>
			</div>
		</div>
		<!-- 左边盒子结束 -->	
		<!-- 右边盒子开始 -->
		<div class="right_box">
			<div class="title_box">
				<h1>已发布的职位</h1>
			</div>
			<div class="tab_box">
				<a href="<?php echo U('check_pos');?>" <?php if(empty($_GET['state'])){?>class="select"<?php }?>>所有职位</a>
				<a href="<?php echo U('check_pos', array('state'=>2));?>" <?php if($_GET['state'] == 2){?>class="select"<?php }?>>审核通过的</a>
				<a href="<?php echo U('check_pos', array('state'=>1));?>" <?php if($_GET['state'] == 1){?>class="select"<?php }?>>审核中的</a>
				<a href="<?php echo U('check_pos', array('state'=>3));?>" <?php if($_GET['state'] == 3){?>class="select"<?php }?>>审核未通过的</a>
			</div>
			<!-- 简历名称盒子 -->
			<form action="" method="post">
				<table>
					<tr class="border_none">
						<td class="h_26">
							<label>
								<input type="checkbox" class="full">
								职位名称
							</label>
						</td>
						<td class="w_80">审核状态</td>
						<td class="w_80">职位状态</td>
						<td class="w_150">有效时间</td>
						<td class="w_50">点击</td>
						<td class="w_50">编辑</td>
					</tr>
				<?php if(!$pos){?>
					<tr class="us_list">
						<td colspan="10">没有已发布简历</td>
					</tr>
				<?php  }else{ ?>
					<?php if(is_array($pos)):?><?php  foreach($pos as $k=>$v){ ?>
						<tr class="font">
							<td class="h_26">
								<label class="blue">
									<input type="checkbox" value="<?php echo $v['cpid'];?>" class="id_input" name="cpid[]"/>
									<a href="<?php echo U('Category/Invite/pos_show', array('cpid'=>$v['cpid']));?>" target="_blank"><?php echo $v['positionname'];?></a>
								</label>
							</td>

							<td class="w_80 red"><?php echo $v['verifystate'];?></td>
							<td class="w_80"><?php echo $v['showstate'];?></td>
							<td class="w_150"><?php echo $v['totime'];?></td>
							<td class="w_50"><?php echo $v['click'];?></td>
							<td class="w_50"><a href="<?php echo U('edit_pos', array('cpid'=>$v['cpid']));?>">修改</a></td>
						</tr>
					<?php }?><?php endif;?>

					<tr class="us_list">
		 				<td colspan="10">
		 					<input type="submit" class="sub" value="提升排名" name="fresh">
		 					<input type="submit" class="sub" value="设为开始" name="start">
		 					<input type="submit" class="sub" value="设为暂停" name="pause">
		 					<input type="submit" class="sub" value="删除职位" name="delete">
		 				</td>
					</tr>
				<?php }?>
				</table>
			</form>
			<!-- 简历名称盒子结束 -->
			<table class="page_table">
				<tr>
					<td colspan="2">
						<div class="page" style='width:400px'>
							<?php if(!empty($pos)){?>
							<?php echo $page;?>
							<?php }?>
						</div>
					</td>
				</tr>
			</table>


		</div>
		<!-- 右边盒子结束 -->
	</div>
	<!-- 内容大盒子结束 -->
<?php if(!defined("HDPHP_PATH"))exit;C("SHOW_NOTICE",FALSE);?><!-- 页脚开始 -->
	<div class="footer">
		<!-- 设为首页 -->
		<div class="set">
			<a href="">网站首页</a>
			 | 
			<a href="">关于我们</a>
			 | 
			<a href="">免责声明</a>
			 | 
			<a href="">隐私声明</a>
			 | 
			<a href="">广告服务</a>
			 | 
			<a href="">帮助中心</a>
		</div>
		<!-- 设为首页结束 -->
		<!-- 欢迎加入php群开始 -->
		<div class="wec">
			 欢迎加入PHP交流群 
			 410004417
			  网站备案：<a href="" class="yue">京ICP备*******号-* </a>
			
			  <a href="">
			  	<img src="http://localhost/hdjob/Static/images/pic.gif" alt="" />
			  </a>
		</div>
		<!-- 欢迎加入php群结束 -->
		<!-- 温馨提示开始 -->
		<div class="rem">
			温馨提示：招聘单位无权收取任何费用，请求职者加强自我保护意，按照相关劳动法规保护自身权益，警惕虚假招聘，避免上当受骗
			<br />
			Copyright @ 2011-2015  houdunwang.com  All Right Reserved   本网站部分内容只转载原作的部分内容，若有异议，请与本站负责人联系，我们将予以改正！ 
		</div>
		<!-- 温馨提示结束 -->
	</div>
	<!-- 页脚结束 -->
</body>
</html>

<!-- 返回顶部开始 -->
<div class="backtop_box">
	<a href="javascript:vido(0)" class="backtop"></a>
</div>
<!-- 返回顶部结束 -->
</body>
</html>